package org.itboys.mobile.entity.mongo.cookbook;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.math.BigDecimal;

/**
 * 作者：zzq
 * 时间：2017年5月9日
 * 描述：花果山（农厨）_菜谱_食材_实体
 */
@Entity(value="KitchenCookBookProduct", noClassnameStored=true)
public class KitchenCookBookProduct extends BaseMongoEntity{
    private Long cookBookId;//食谱id
    private Long productId;//商品id
    private String name;//食材名称。动态查询
    private String number;//食材编号。动态查询
    private String standard;//食材规格。动态查询
    private Integer num;//数量。
    private BigDecimal price;//商品价格。动态查询


    public KitchenCookBookProduct() {

    }

    public Long getCookBookId() {
        return cookBookId;
    }

    public void setCookBookId(Long cookBookId) {
        this.cookBookId = cookBookId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
